#ifndef __CONFIG_HXX__
#define __CONFIG_HXX__

/**
 * Temporily for the configuration for all libs
 */

////////////////////////AUDIO////////////////////////////
#define BITS_PER_SAMPLE		(16)
#define	CHANNEL_NB			(1)
#define SAMPLE_RATE			(8000) //(44100)
#define SAMPLES_SEC			(SAMPLE_RATE *  (BITS_PER_SAMPLE>>3)    * CHANNEL_NB)	// Hz * Bytes * Channels
#define DURATION			(0.02)

#define BLOCK_SIZE			(SAMPLES_SEC * DURATION)

#define BLOCK_NB			(10)

///////////////////////CONVERTER/////////////////////////

// WORD wFormatTag = WAVE_FORMAT_ADPCM;
// WORD wFormatTag = WAVE_FORMAT_IMA_ADPCM;
// WORD wFormatTag = WAVE_FORMAT_GSM610;
// WORD wFormatTag = WAVE_FORMAT_ALAW;
// WORD wFormatTag = WAVE_FORMAT_MULAW;
// WORD wFormatTag = 0x32; // MSN
// WORD wFormatTag = WAVE_FORMAT_DSPGROUP_TRUESPEECH
//#define DEST_FORMAT_TAG		WAVE_FORMAT_DSPGROUP_TRUESPEECH

/////////////////SPEEX CONVERTER/////////////////////////
#define QUALITY			8
#define TAIL			1200


//////////////////////the central server for digging hole/////
//#define CENTRAL_SERVER_ADDRESS	"114.92.146.57"
#define CENTRAL_SERVER_ADDRESS		"180.171.161.43"


#endif //__CONFIG_HXX__